package com.ruoyi.lnb.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 活动管理对象 activities
 * 
 * @author lnb
 * @date 2022-04-05
 */
public class Activities extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 活动编号 */
    private Long aid;

    /** 活动时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "活动时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date activitytime;

    /** 活动地址 */
    @Excel(name = "活动地址")
    private String acticityaddress;

    /** 活动描述 */
    @Excel(name = "活动描述")
    private String activitydescription;

    public void setAid(Long aid) 
    {
        this.aid = aid;
    }

    public Long getAid() 
    {
        return aid;
    }
    public void setActivitytime(Date activitytime) 
    {
        this.activitytime = activitytime;
    }

    public Date getActivitytime() 
    {
        return activitytime;
    }
    public void setActicityaddress(String acticityaddress) 
    {
        this.acticityaddress = acticityaddress;
    }

    public String getActicityaddress() 
    {
        return acticityaddress;
    }
    public void setActivitydescription(String activitydescription) 
    {
        this.activitydescription = activitydescription;
    }

    public String getActivitydescription() 
    {
        return activitydescription;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("aid", getAid())
            .append("activitytime", getActivitytime())
            .append("acticityaddress", getActicityaddress())
            .append("activitydescription", getActivitydescription())
            .toString();
    }
}
